gtk/dragicon: Don't show until child is set
authorJonas Ådahl <jadahl@gmail.com>
Wed, 25 Nov 2020 14:02:26 +0000 (15:02 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 7 Dec 2020 08:46:39 +0000 (09:46 +0100)
commit3b140a05a441d89482896fe88f381a2c5088e41d
tree65e156a1f5c678671eed8bafaa24dc31badca883
parentd38f81999e2e277e29573a855120873803d26125
gtk/dragicon: Don't show until child is set

Showing before the child would result in bogus
gdk_drag_surface_present() with an "empty" (1x1) size. This can easily
be avoided by postponing showing until there is anything to show.
gtk/gtkdragicon.c